<template>
  <header>
    <div class="header-back">
      <span class="iconfont">&#xe6ed;</span>
    </div>
    <div class="header-search">
      <span class="iconfont">&#xe731;</span>
      请输入城市/景点/游戏主题
    </div>
    <div class="header-city">
      城市
      <span class="iconfont">&#xe6aa;</span>
    </div>
  </header>
</template>

<script>
export default {
  name: 'HomeHeader'
}
</script>

<style lang="stylus" scoped="scoped">   //让样式只在当前组件起作用
    header
        width 100%
        background #00bcd4
        height 0.75rem
        line-height 0.75rem
        display flex
        color #FFFFFF
        .header-back
          width 0.9375rem
          text-align center
        .header-search
          flex 1
          background #FFFFFF
          /* color #e4e/ea */
          color #CACACA
          height 0.59375rem
          line-height 0.59375rem
          margin 0.0875rem 0
          border-radius 0.06rem
          padding 0 0.25rem
          font-size 0.3rem
        .header-city
          padding 0 0.125rem
</style>
